<?php


namespace console\spider;


class Params
{


    /**
     * 保存cookie的文件名
     */
    const cookie_file = "tmp.cookie";

    /**
     * 中职管理系统URL
     */
    const  zzxsUrl= 'http://zzxs.gxeduyun.edu.cn/';

    /**
     * 招生计划审核URL
     * pqb.pagingInfo.pageRows:获取行数
     * pqb.pagingInfo.pageNum:页码
     * nd：年度
     */
    const  enrollmentPlanUrl= self::zzxsUrl. "zs/zsjhShAction!retrieve.action?pqb.pagingInfo.pageRows=100&sord=asc&pqb.pagingInfo.pageNum=";

    /**
     * 招生计划审核URL
     * pqb.pagingInfo.pageRows:获取行数
     * pqb.pagingInfo.pageNum:页码
     * nd：年度
     */
    const  enrollmentPlanIfoUrl= self::zzxsUrl. "zs/zsjhShAction!retrieveDetail.action?zsjhShQB.sjzt=1&pqb.pagingInfo.pageRows=100&sord=asc";

    /**
     *招生计划审核数据存放路径
     */
    const  enrollmentPlanDir= __DIR__ . "\data\zsjhsh\\";

    /**
     * 获取学校
     */
    const schoolsUrl =  self::zzxsUrl."school/zzXxZgbmAction!retrieve.action?pqb.pagingInfo.pageRows=1000&sord=asc&pqb.pagingInfo.pageNum=";

    /**
     * 获取学校信息
     */
    const schoolInfoUrl =  self::zzxsUrl."school/schoolManagerAction!showDetail.action?zzXxJbxxQB.id=";

    /**
     *学校数据存放路径
     */
    const  schoolDir= __DIR__ . "\data\school\\";

    /**
     * 获取学生URL
     */
    const  studentUrl=self::zzxsUrl."zhcx/zxsZhcxAction!retrieveXxNew.action?zzZxsXscxQB.xxszsfdm=450000000000&_search=false&pqb.pagingInfo.pageRows=500&sidx=&sord=asc&pqb.pagingInfo.pageNum=";

    /**
     *学生数据存放路径
     */
    const  studentDir= __DIR__ . "\data\student\\";

    /**
     * 获取专业
     */
    const majorUrl =  "http://zzxs.gxeduyun.edu.cn/school/zzXxZyZhcxAction!showComList.action?funcPointType=5&title=%E5%AD%A6%E6%A0%A1%E4%B8%93%E4%B8%9A%E7%BB%BC%E5%90%88%E6%9F%A5%E8%AF%A2&fileName=%E5%AD%A6%E6%A0%A1%E4%B8%93%E4%B8%9A%E7%BB%BC%E5%90%88%E6%9F%A5%E8%AF%A2&pqb.pagingInfo.pageRows=100";

    /**
     * 审核专业
     */
    const majorShUrl =  "http://zzxs.gxeduyun.edu.cn/school/zzXxZyShAction!showShSjList.action?pqb.pagingInfo.pageRows=100&sord=asc&zzXxXxzyywbQB.jsShzt=2";

    /**
     *专业数据存放路径
     */
    const  majorDir= __DIR__ . "\data\major\\";
    /**
     *审核专业数据存放路径
     */
    const  majorSHDir= __DIR__ . "\data\major-sh\\";
    //正常
    const  majorZCDir= __DIR__ . "\data\major-zc\\";
    //停招
    const  majorTZDir= __DIR__ . "\data\major-tz\\";
}